package com.example.demo.entity;


import com.example.demo.model.result;
import com.example.demo.services.textGgaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/textGgao")
public class textGgaoController {

    @Autowired
    private textGgaoService service;

    @RequestMapping(value ="/getAll",method = {RequestMethod.GET})
    public result getAll() {
        return result.success(service.selectAll());
    }


}
